package com.example.mpdata.po;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * null
 * @TableName person
 */
@Data
//https://mp.baomidou.com/guide/annotation.html#tablename
@TableName(value = "person")
public class Person implements Serializable {
    /**
     * 主键ID
     *
     * @mbg.generated 2021-02-04 13:00:37
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 姓名
     *
     * @mbg.generated 2021-02-04 13:00:37
     */
    @TableField(value = "name")
    private String name;

    /**
     * 年龄
     *
     * @mbg.generated 2021-02-04 13:00:37
     */
    @TableField(value = "age")
    private Integer age;

    /**
     * 邮箱
     *
     * @mbg.generated 2021-02-04 13:00:37
     */
    @TableField(value = "email")
    private String email;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table person
     *
     * @mbg.generated 2021-02-04 13:00:37
     */
    private static final long serialVersionUID = 1L;
}